﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using BarcodeProductManagement.Models;

namespace BarcodeProductManagement.Controllers
{
    public class RegisterController : Controller
    {
        [AcceptVerbs(HttpVerbs.Get)]
        public ActionResult Register()
        {
            return View();
        }

        [AcceptVerbs(HttpVerbs.Post)]
        public ViewResult Register(RegisterModel registerModel)
        {
            return View("AfterRegister", registerModel);
        }


    }
}
